package com.landian.commons.base.converter;

import java.util.List;

/**
 * Convert
 *
 * @author caojl
 * @create 2017/12/18
 **/
public interface Convert<S, T> {

    /**
     * convert
     * @param srcList
     * @return
     */
    List<T> convert(List<S> srcList);

    /**
     * convert
     * @param src
     * @return
     */
    T convert(S src);
}
